package com.qny.ai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@TableName("role_version")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RoleVersion {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long roleId;
    private String version;
    private String changeLog;
    private String promptTemplate;
    private LocalDateTime createdAt;
}


